<template>
  <div>{{$store.state.user.name}}</div>
</template>

<script>
export default {
  name:'App',
  created() {
    setTimeout(() => {
      // this.$store.state.user.name = 'zs'
      this.$store.commit('user/setName', '规划和顾客')
    }, 2000)
  }
}
</script>

<style>

</style>